<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'navigateManage.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<link href="images/skin.css" rel="stylesheet" type="text/css" />
  </head>
  
  <body>
      <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr><!--第一个tr开始，头部背景-->
      <td width="17" valign="top" background="images/mail_leftbg.gif">
      	<img src="images/left-top-right.gif" width="17" height="29" />
      </td>
      <td valign="top" background="images/content-bg.gif">
      	<table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
        	<tr>
          		<td height="31"><div class="titlebt">欢迎界面</div></td>
        	</tr>
      	</table>
      </td>
      <td width="16" valign="top" background="images/mail_rightbg.gif">
      	<img src="images/nav-right-bg.gif" width="16" height="29" />
      </td>
    </tr><!--第一个tr结束-->
    
    <tr><!--第二个tr开始，中间待添加的内容-->
      <td valign="middle" background="images/mail_leftbg.gif">&nbsp;</td>
      
      <td valign="top" bgcolor="#F7F8F9"><!--在此处添加内容开始-->
      	<div style="height:480px;border:1px solid red">
      	<table align="center" width="80%" bgcolor="#F7F8F9" cellspacing="0" cellpadding="0" border=1>
      	<tr bgcolor="lightblue"><td align="center"><font size=2 face="宋体">导航名称</font></td>
      	<td align="center"><font size=2 face="宋体">导航图片</font></td>
      	<td align="center"><font size=2 face="宋体">导航url</font></td>
      	<td align="center"><font size=2 face="宋体">显示顺序</font></td>
      	<td align="center"><font size=2 face="宋体">所属夫导航</font></td>
      	<td align="center"><font size=2 face="宋体">内容类型</font></td>
      	<td align="center"><font size=2 face="宋体">更新</font></td>
      	</tr>
      	<s:if test="#request.navigateList!=null">
      	<s:iterator value="#request.navigateList" id="b" status="">
      	<tr>
      	<td>${navigateName}</td>
      	<td>${ navigatePic}</td>
      	<td>${url }</td>
      	<td>${order }</td>
      	<td>${fatherNavigate }</td>
      	<td>${type }</td>
      	<td>修改 删除</td>
      	<td></td>
      	<td></td>
      	</tr>
      	
      	</s:iterator>
      	</s:if>
      	<s:else>
      <font size="2" color="red">	${message }</font>
      	</s:else>
      	<tr><td colspan=7 align="right"><a href="showFatherNavigateAction"><font size=2 face="宋体" color="red">添加新导航</font></a></td></tr>
      	</table>
      	
      	
      	
      	</div>
      </td><!--在此处添加内容结束-->
      
      <td background="images/mail_rightbg.gif">&nbsp;</td>
    </tr><!--第二个tr结束-->
    
    
    <tr><!--第三个tr开始，底部背景-->
      <td valign="bottom" background="images/mail_leftbg.gif"><img src="images/buttom_left2.gif" width="17" height="17" /></td>
      <td background="images/buttom_bgs.gif"><img src="images/buttom_bgs.gif" width="17" height="17"></td>
      <td valign="bottom" background="images/mail_rightbg.gif"><img src="images/buttom_right2.gif" width="16" height="17" /></td>
    </tr><!--第三个tr结束-->
  </table>
  </body>
</html>
